import { createApp } from "vue";
import App from "./App.vue";
// 引入pinia
import { createPinia } from "pinia";

// 安装路由
import router from "@/router/index.js";

// 引入初始化样式文件(重置浏览器默认样式)
import "@/styles/common.scss";

// 引入懒加载指令插件并注册
import {lazyPlugin} from '@/directives/index.js'
const app = createApp(App);
// 实例化pinia
const pinia = createPinia();
app.use(router);
app.use(pinia);
app.use(lazyPlugin)
app.mount("#app");



